//
//  Hero.h
//  CandyCrushClone
//
//  Created by Petar on 3/15/15.
//  Copyright (c) 2015 Nestorov Engineering. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RWTChain.h"

@interface Hero : NSObject

@property (assign) NSInteger cookieType1Counter;
@property (assign) NSInteger cookieType2Counter;
@property (assign) NSInteger cookieType3Counter;
@property (assign) NSInteger cookieType4Counter;
@property (assign) NSInteger cookieType5Counter;
@property (assign) NSInteger cookieType6Counter;
@property (assign) NSInteger type;
@property (nonatomic) NSArray *heroInfoFromServer;
@property (nonatomic) NSDictionary *usageConditions;
@property (nonatomic) NSDictionary *skillsOnMyself;
@property (nonatomic) NSDictionary *skillsOnOtherPlayer;
@property (assign) NSInteger produces;
@property (assign) NSInteger attack;

- (instancetype)initWithType:(NSInteger)type;
- (void)calculateScoreForChain:(RWTChain *)chain;
- (void)setCounterValuesFromServer;
- (void)resetCounters;
- (void)addComboCookies:(NSInteger)comboCookiesToBeAdded;
- (void)decreaseCookieCounters;

@end
